package com.tfb.rong;

import java.util.Date;
import org.codehaus.jackson.map.annotate.JsonDeserialize;
import org.codehaus.jackson.map.annotate.JsonSerialize;

public class Medication_HomeRemedyRecord_item {

    private String  assessmentId;
    private Date    remedyTime;
    private String  name;
    private String  medication;
    private String dose;
    private String  reason;

    public String getAssessmentId() {
        return assessmentId;
    }

    public void setAssessmentId(String assessmentId) {
        this.assessmentId = assessmentId == null ? null : assessmentId.trim();
    }

    @JsonSerialize(using = CustomJsonDateTimeSerializer.class)
    public Date getRemedyTime() {
        return remedyTime;
    }

    @JsonDeserialize(using = CustomJsonDateTimeDeserializer.class)
    public void setRemedyTime(Date remedyTime) {
        this.remedyTime = remedyTime;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getMedication() {
        return medication;
    }

    public void setMedication(String medication) {
        this.medication = medication == null ? null : medication.trim();
    }

    public String getDose() {
        return dose;
    }

    public void setDose(String dose) {
        this.dose = dose == null ? null : dose.trim();
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason == null ? null : reason.trim();
    }
}
